// 如果不需要打包成多个文件夹 就删掉这个文件

'use strict'
const path = require('path')
const PrerenderSPAPlugin = require('prerender-spa-plugin')
module.exports = {
  plugins: [
    ...
    new PrerenderSPAPlugin({
      // Required - The path to the webpack-outputted app to prerender.
      staticDir: path.join(__dirname, 'dist'),
      // Required - Routes to render.
      routes: [ '/', '/index',  '/about', '/contact', '/environment', '/international', '/main', '/major', '/majorDetail', '/majorType', '/recruit', '/teacher', '/teacherDetail' ],
      
    })
  ]
}